package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.utils.PageUtils;
import com.jbp.model.Room;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lucheng feng
 * @email jbp@gmail.com
 * @date 2020-06-18 21:26:42
 */
public interface RoomService extends IService<Room> {

    PageUtils queryPage(Map<String, Object> params);

    //推荐房间列表
    List<Room> recommendRooms(Integer userId);

    void  inRoom(Room room);

    void clearCharm(Integer roomId);

    void updateBatch(List<Room> rooms);

    List<Room> financeRankYesterday();
}

